#include"../../include/transformation/move.hpp"

namespace transformation{
    Matrix44 Move::MoveX(float x){
        float res[16]={1,0,0,x,
                       0,1,0,0,
                       0,0,1,0,
                       0,0,0,1};
        return Matrix44(res);
    }
    Matrix44 Move::MoveY(float y){
        float res[16]={1,0,0,0,
                       0,1,0,y,
                       0,0,1,0,
                       0,0,0,1};
        return Matrix44(res);
    }
    Matrix44 Move::MoveZ(float z){
        float res[16]={1,0,0,0,
                       0,1,0,0,
                       0,0,1,z,
                       0,0,0,1};
        return Matrix44(res);
    }
    Matrix44 Move::MoveXYZ(float x,float y,float z){
        float res[16]={1,0,0,x,
                       0,1,0,y,
                       0,0,1,z,
                       0,0,0,1};
        auto resM=Matrix44(res);
        return resM;
    }
}
